package com.info.zhiduoduo.admin.model.formbean.product;

import com.info.zhiduoduo.common.validator.IntIn;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@Data
public class TakeProductFormBean {
    /**
     * 订单编号
     */
    @NotEmpty
    @ApiModelProperty("订单号")
    private String orderno;
    /**
     * 确认状态: 1.未确认 2. 已确认
     */
    @IntIn(value = {1,2}, message = "请选择正确的确认状态")
    @ApiModelProperty("确认状态: 1.未确认 2. 已确认")
    private String takeState;

    @ApiModelProperty("生效截止时间")
    private Date effTime;
}
